package com.house.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.house.model.dto.HouseImageDto;
import com.house.model.entity.HouseImage;
import com.house.model.vo.HouseImageVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface IHouseImageService extends IService<HouseImage> {


    String uploadHeadImage(MultipartFile file, String houseId);

    HouseImageVo saveHouseImages(MultipartFile file, String houseId);

    void removeHouseImage(HouseImageDto dto);

    List<HouseImageVo> getHouseImageByHouseId(String houseId);
}
